﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Layout.Master" AutoEventWireup="true" CodeBehind="Add_Pregunta.aspx.cs" Inherits="Sistema_Test_OnLine.Presentacion.Add_Pregunta" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    <div class="midheading">
    <h2>Nueva Pregunta</h2>
</div >

<div class="midtxt">
           
           
                <asp:Label ID="Label6" runat="server" 
                    Text="Los Campos con * son de caracter obligatorio "></asp:Label>
                
                <asp:Label ID="Label5" runat="server" 
        Text="* Enunciado de la Pregunta"></asp:Label>
                <br />
                <asp:Label ID="lblMensaje3" runat="server" ForeColor="Red"></asp:Label>
                <br />
                <asp:TextBox ID="txt_pregunta" runat="server" Height="26px" 
                Width="460px"></asp:TextBox>
                <br />
                <br />
                <fieldset>
                    <legend>Asociar Imagen a al Pregunta </legend>
                    <label>
                    <br />
                    Seleccione Archivo:<br />
                    <br />
                    </label>
                    &nbsp;<asp:FileUpload ID="uploadFile" runat="server" Width="246px" />
                    <br />
                    &nbsp;<asp:Button ID="btnSubir" runat="server" Text="Aceptar" 
                        onclick="btnSubir_Click" />
                    <br /><br />
                    <asp:Image ID="imgSubida" runat="server" />
                    <br /><br />
                    <asp:Label ID="lblMensaje" runat="server" ForeColor="Red"></asp:Label>
                </fieldset>
   
    <br />
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <div class="midtxt">
                <br />
                Por favor seleccione el tipo de pregunta que se desee insertar en el banco de 
                preguntas<br /> y oprima aceptar.<br />
                <br />
                <asp:DropDownList ID="List_preguntas" runat="server" Height="16px" 
                    Width="257px">
                    <asp:ListItem>Pregunta de Seleccion Unica</asp:ListItem>
                    <asp:ListItem>Pregunta de Seleccion Multiple</asp:ListItem>
                    <asp:ListItem>Pregunta de Completar</asp:ListItem>
                </asp:DropDownList>
                <br />
                <br />
                <asp:Button ID="Button1" runat="server" onclick="Button1_Click1" 
                    Text="Aceptar" />
                <br />
                <br />
                <asp:Label ID="Label4" runat="server" Text="*Solución de la Pregunta" 
                    Visible="False"></asp:Label>
                <br />
                <asp:Label ID="Label3" runat="server" Text="&nbsp;" Visible="False"></asp:Label>
                <br />
                &nbsp;<br />&nbsp;<asp:Label ID="lblMensaje0" runat="server" ForeColor="Red"></asp:Label>
                &nbsp;&nbsp;<br />&nbsp;<br /> &nbsp;&nbsp;&nbsp;
                <asp:TextBox ID="txtb_op1" runat="server" Visible="False" Width="220px"></asp:TextBox>
                &nbsp;&nbsp;&nbsp;
                <asp:CheckBox ID="chkb_sol1" runat="server" Visible="False" />
                &nbsp;
                <asp:RadioButton ID="RadioButton1" runat="server" GroupName="grupo1" 
                    Visible="False" />
                <br />
                <br />
                &nbsp;&nbsp;&nbsp;
                <asp:TextBox ID="txtb_op2" runat="server" Visible="False" Width="220px"></asp:TextBox>
                &nbsp;&nbsp;&nbsp;
                <asp:CheckBox ID="chkb_sol2" runat="server" Visible="False" />
&nbsp; <asp:RadioButton ID="RadioButton2" runat="server" GroupName="grupo1" Visible="False" />
                <br />
                <br />
                &nbsp;&nbsp;&nbsp;
                <asp:TextBox ID="txtb_op3" runat="server" Visible="False" Width="221px"></asp:TextBox>
                &nbsp;&nbsp;&nbsp;
                <asp:CheckBox ID="chkb_sol3" runat="server" Visible="False" />
                &nbsp;
                <asp:RadioButton ID="RadioButton3" runat="server" GroupName="grupo1" 
                    Visible="False" />
                <br />
                <br />
                &nbsp;&nbsp;&nbsp;
                <asp:TextBox ID="txtb_op4" runat="server" Visible="False" Width="220px"></asp:TextBox>
                &nbsp;&nbsp;&nbsp;
                <asp:CheckBox ID="chkb_sol4" runat="server" Visible="False" />
                &nbsp;
                <asp:RadioButton ID="RadioButton4" runat="server" GroupName="grupo1" 
                    Visible="False" />
                <br />
                <br />
                <asp:Label ID="Label2" runat="server" Text="*Explicaion de la Solución" 
                    Visible="False"></asp:Label>
                <br />
                &nbsp;&nbsp;<asp:Label ID="lblMensaje2" runat="server" ForeColor="Red"></asp:Label>
                <br />
                &nbsp;&nbsp;
                <br />
&nbsp;&nbsp;
                <asp:TextBox ID="txt_explicacion" runat="server" Height="29px" Visible="False" 
                    Width="460px"></asp:TextBox>
                <br />
                &nbsp;&nbsp;&nbsp;
                <br />
                <br />
                &nbsp;&nbsp;
                <asp:Label ID="Label1" runat="server" Text="*Asocial un examen a la pregunta" 
                    Visible="False"></asp:Label>
                <asp:DropDownList ID="lis_examenes" runat="server" AutoPostBack="True" 
                    style="margin-left: 19px" Visible="False">
                    <asp:ListItem>101</asp:ListItem>
                    <asp:ListItem>102</asp:ListItem>
                    <asp:ListItem>201</asp:ListItem>
                    <asp:ListItem>202</asp:ListItem>
                    <asp:ListItem>301</asp:ListItem>
                    <asp:ListItem>302</asp:ListItem>
                    <asp:ListItem>303</asp:ListItem>
                    <asp:ListItem>304</asp:ListItem>
                    <asp:ListItem>305</asp:ListItem>
                    <asp:ListItem>306</asp:ListItem>
                </asp:DropDownList>
                <br />
                <br />
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <br />
                <asp:Button ID="btn_guardar_preg" runat="server" 
                    onclick="btn_guardar_preg_Click" Text="Guardar" Visible="False" 
                    style="margin-left: 247px" />
                &nbsp;&nbsp;
                <asp:Button ID="btn_cancelar_preg" runat="server" Text="Cancelar" 
                    Visible="False" />
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            </div>
            <br />
            <br />
        </ContentTemplate>
    </asp:UpdatePanel>

</div>
</asp:Content>
